#include <windows.h>
#include "common.h"
#include <commctrl.h>

namespace TLib
{
	HANDLE dllHModule;
}
BOOL WINAPI DllMain (HANDLE hinstDLL,
					 DWORD  fdwReason,
					 LPVOID lpvReserved)
{
	INITCOMMONCONTROLSEX icex;

	icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
	icex.dwICC = ICC_USEREX_CLASSES;

	InitCommonControlsEx(&icex);
	TLib::dllHModule = hinstDLL;
	return TRUE;
}
